<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=<device-width>, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
        img {
            box-shadow: 0px 3px 8px;
            border-radius: 15px;
            width: 300px;
        }
        div{
            margin: 0px;
            padding: 10px;
            border: 1px solid #000;
            width: 300px;
        }
        #block2{
            position: absolute;
            top:;
            left:330px

        }
    </style>
</head>

<body>
    <div id="block1">
        <img src="/1.jpg" />
    </div>
    <div id="block2">
        <img src="/1.jpg" />
    </div>
</body>

</html>